package OO;

public class debug {
    public static void main(String[] args) {
        double x;
        phone p = new phone();
        p.brand ="华为";
        p.size = 14.4;
        p.price = 1999;
        p.model = "Z1";
        p.inData();
        p.sendMessage();
        p.call();

        student stu = new student();
        stu.forPhone = p.brand;
        stu.name = "张三";
        stu.sex = "男";
        stu.stuNemBer = 232130138031L;
        stu.use();


        triangle tr = new triangle();
        tr.a = 14.4;
        tr.b = 15.6;
        tr.c = 12.2;
        x = tr.perimeter();
        System.out.println(x);

    }
}
